Dew Stats for .NET
|
The Lilliefors GOF test to a normal distribution.
Parameters |
Description |
[In] TVec Data |
Vector, storing sample values to-be-tested. |
out THypothesisResult hRes |
Returns the result of the null hypothesis (default assumption is that data comes from normal distribution). |
out double Signif |
(Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true. |
double Alpha |
Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. |
double MCTol2 |
Defines default tolerance for Monte Carlo algorithm (0,0001). |
KS test statistics value.
Performs the Lilliefors goodnes of fit test to a normal distribution with unknown parameters mu and sigma.
The test proceeds as follows:
Note:
The test is relatively weak and a large amount of data is typically required to reject the normality hypothesis. A more sensitive test is the Jarque-Bera test which is based on a combination of the estimates of skewness and kurtosis. The Jarque-Bera test is therefore highly attentive to outliers, which the Lilliefors is not.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|